package org.metis4j.framework.util;

import org.apache.commons.lang.ArrayUtils;

public class ArrayUtil {
	
	public static boolean isEmpty(Object[] arrays){
		return ArrayUtils.isEmpty(arrays);
	}
	
	public static boolean isNotEmpty(Object[] arrays){
		return !ArrayUtils.isEmpty(arrays);
	}
	
	public static Object[] concat(Object[] array1,Object[] array2){
		return ArrayUtils.addAll(array1, array2);
	}
	
	public static <T> boolean contains(T[] arrays, T obj){
		return ArrayUtils.contains(arrays, obj);
	}
}
